// -----------------------------------------------------------------------
//  <copyright file="ITopAdminRoleService.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2025 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-02-17 08:02</last-date>
// -----------------------------------------------------------------------

namespace DaprPlus.Authorization;

/// <summary>
/// 定义最高权限管理角色
/// </summary>
public interface ITopAdminRoleService
{
    /// <summary>
    /// 是否最后权限管理角色
    /// </summary>
    /// <param name="roleNames">角色名集合</param>
    /// <returns></returns>
    Task<bool> IsTopAdminRole(params string[] roleNames);

    /// <summary>
    /// 是否最高权限管理角色
    /// </summary>
    /// <param name="roleIds">角色Id集合</param>
    /// <returns></returns>
    Task<bool> IsTopAdminRole(params long[] roleIds);
}
